package com.example.demo.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.util.Date;
import java.util.List;

@Data
@TableName("xu_feedback")
public class FeedbackEntity {
    @TableId(value = "id",type = IdType.AUTO)
    private Integer id;
    private String title;
    private String content;
    @TableField("create_time")
    private Date createTime;
    /**
     * 病人id
     */
    @TableField("user_id")
    private Integer userId;
    @TableField(exist = false)
    private String truename;
    @TableField(exist = false)
    private List<FeedBackReplyEntity> childList;

}
